package com.bailiban.entity;


import java.io.Serializable;
import java.util.List;

/**
 * (Permission)实体类
 *
 * @author zhulang
 * @since 2020-11-02 09:03:56
 */
public class Permission implements Serializable {
    private static final long serialVersionUID = -33027230609975399L;

    private Integer id;
    /**
     * 权限名
     */
    private String permissionname;
    /**
     * 资源路径
     */
    private String url;
    private List<Role> roles;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPermissionname() {
        return permissionname;
    }

    public void setPermissionname(String permissionname) {
        this.permissionname = permissionname;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<Role> getRoles() {
        return roles;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }
}